package com.tm.model;

public class EcWithdrawalManageKey {
    private Integer id;

    private String withdrawalNum;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getWithdrawalNum() {
        return withdrawalNum;
    }

    public void setWithdrawalNum(String withdrawalNum) {
        this.withdrawalNum = withdrawalNum;
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        EcWithdrawalManageKey other = (EcWithdrawalManageKey) that;
        return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
            && (this.getWithdrawalNum() == null ? other.getWithdrawalNum() == null : this.getWithdrawalNum().equals(other.getWithdrawalNum()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
        result = prime * result + ((getWithdrawalNum() == null) ? 0 : getWithdrawalNum().hashCode());
        return result;
    }
}